import { createFileRoute } from '@tanstack/react-router'
import { Card, Typography } from 'antd'
import UserManagement from '../components/UserManagement'

const { Title } = Typography

export const Route = createFileRoute('/generic-table')({
  component: GenericTableDemo,
  meta: {
    label: '泛化表格组件',
    icon: 'TableOutlined'
  },
} as any)

function GenericTableDemo() {
  return (
    <div>
      <Title level={3}>泛化分页表格组件演示</Title>
      <Card>
        <UserManagement />
      </Card>
    </div>
  )
}

export default GenericTableDemo